package com.heatup.apt.model.order;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by blank on 2017/1/12.
 */
public class OrderCompanyInfo implements Serializable{

    private Long companyId;
    private Integer year;
    private Integer month;
    private BigDecimal doneAmount;
    private BigDecimal cancelAmount;
    private BigDecimal totalAmount;
    private String yearMonth;

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public BigDecimal getDoneAmount() {
        return doneAmount;
    }

    public void setDoneAmount(BigDecimal doneAmount) {
        this.doneAmount = doneAmount;
    }

    public BigDecimal getCancelAmount() {
        return cancelAmount;
    }

    public void setCancelAmount(BigDecimal cancelAmount) {
        this.cancelAmount = cancelAmount;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getYearMonth() {
        return yearMonth;
    }

    public void setYearMonth(String yearMonth) {
        this.yearMonth = yearMonth;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("OrderCompanyInfo{");
        sb.append("companyId=").append(companyId);
        sb.append(", year=").append(year);
        sb.append(", month=").append(month);
        sb.append(", doneAmount=").append(doneAmount);
        sb.append(", cancelAmount=").append(cancelAmount);
        sb.append(", totalAmount=").append(totalAmount);
        sb.append(", yearMonth='").append(yearMonth).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
